//
//  SeachField.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/7.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "SeachField.h"

@implementation SeachField


- (CGRect)leftViewRectForBounds:(CGRect)bounds {
    CGRect rect = [super leftViewRectForBounds:bounds];
    rect.origin.x = 10;
    return rect;
}

- (CGRect)textRectForBounds:(CGRect)bounds {
    CGRect rect = [super textRectForBounds:bounds];
    rect.origin.x = 30;
    return rect;
}

- (CGRect)editingRectForBounds:(CGRect)bounds {
    CGRect rect = [super editingRectForBounds:bounds];
    rect.origin.x = 30;
    return rect;
}
@end
